﻿ 
 
using Common.EF.Map;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Api.Mapping.T4
 {
	using File.Data.Entity;
			#region  t_file
     public partial class t_fileMap  :EntityBaseMap< t_file >    
	{   
        public override void Configure(EntityTypeBuilder<t_file> builder)
		{
			base.Configure(builder);

			builder.Property(t => t.user_name).HasMaxLength(600);
builder.Property(t => t.file_name).HasMaxLength(600);
builder.Property(t => t.file_type).HasMaxLength(600);
builder.Property(t => t.file_path).HasMaxLength(600);

		} 

     }
	 #endregion
					#region  t_file_group
     public partial class t_file_groupMap  :EntityBaseMap< t_file_group >    
	{   
        public override void Configure(EntityTypeBuilder<t_file_group> builder)
		{
			base.Configure(builder);

			builder.Property(t => t.user_name).HasMaxLength(600);
builder.Property(t => t.file_name).HasMaxLength(600);
builder.Property(t => t.file_type).HasMaxLength(600);
builder.Property(t => t.file_id).HasMaxLength(50);

		} 

     }
	 #endregion
					#region  t_file_group_detail
     public partial class t_file_group_detailMap  :EntityBaseMap< t_file_group_detail >    
	{   
        public override void Configure(EntityTypeBuilder<t_file_group_detail> builder)
		{
			base.Configure(builder);

			builder.Property(t => t.file_group_id).HasMaxLength(50);
builder.Property(t => t.file_id).HasMaxLength(50);

		} 

     }
	 #endregion
		 }

 